﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="NewsThanks.ascx.cs"
    Inherits="VIT.Web.Modules.NewsThanks.NewsThanks" %>

<asp:Repeater ID="rpt" runat="server">
    <ItemTemplate>

        <a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" title="<%#Eval("Title") %>">
            <img src="<%=URLRoot %>Uploads/Images/Articles/Thumbs/<%#Eval("Image") %>" width="93" height="102" alt="<%#Eval("Title") %>" /></a>
        <p>
            <%#Eval("Brief").ToString().Substring(3,Eval("Brief").ToString().Length-7)%>
            <br />
            <br />
            <a href="<%#linkComponent("Article","NewsDetail","sId="+Eval("Id"))%>" title="<%#Eval("Title") %>"><%#Eval("Title") %></a></p>
        <div class="cl"></div>

    </ItemTemplate>
</asp:Repeater>
